package com.cskaoyan.order.dto;

import com.cskaoyan.mall.commons.result.AbstractResponse;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author Qing
 * @since 2022/06/20 15:20
 */

@Data
public class OrderDetailResponseMy extends AbstractResponse {

    private String userName;
    private BigDecimal orderTotal;
    private Integer userId;
    private List<GoodsListDTO> goodsList;
    private String tel;
    private String streetName;
    private Integer orderStatus;

    @NoArgsConstructor
    @Data
    public static class GoodsListDTO implements Serializable {
        private String id;
        private String itemId;
        private String orderId;
        private Integer num;
        private String title;
        private Integer price;
        private Integer totalFee;
        private String picPath;
    }
}
